package cn.hackcloud.designpattern.mediator;

public abstract class Colleague {
	public String name;
	private Mediator mediator;

	public Colleague(String name, Mediator mediator) {
		super();
		this.name = name;
		this.mediator = mediator;
	}

	abstract void sendMessage(int stateChange);

	public Mediator getMediator() {
		return mediator;
	}
}
